var $budgets = $('#budgets');

if ($budgets.length > 0) {
  $budgets.html('<%= j(cell("decidim/budgets/budgets_list", current_workflow).main_list).strip.html_safe %>');
  document.dispatchEvent(new CustomEvent("ajax:loaded", { detail: $budgets[0] }));
}
